// =代码实现：计算存款利润

#include<stdio.h>
int main(){
    int money = 0;
    printf("Please input your money:\n");
    scanf("%d", &money);

    int years;
    printf("How many years do you want to keep in Bank?\n");
    scanf("%d", &years);

    double moneyLater = money;
    int year = 1;

    while(year<=years){
        moneyLater = moneyLater*(1+0.033);
        // printf("%d", year);
        year = year + 1;
        // printf("%d", year);

    }

    printf("Severral years later, you will get money:%f $", moneyLater);

    return 0;
}